package cn.iocoder.yudao.module.squaredancing.controller.admin.video.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - 视频管理 Response VO")
@Data
@ExcelIgnoreUnannotated
public class VideoRespVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "32351")
    @ExcelProperty("主键ID")
    private Long id;

    @Schema(description = "视频标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("视频标题")
    private String title;

    @Schema(description = "视频简介", example = "你说的对")
    @ExcelProperty("视频简介")
    private String description;

    @Schema(description = "封面地址", example = "https://www.iocoder.cn")
    @ExcelProperty("封面地址")
    private String coverUrl;

    @Schema(description = "视频地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @ExcelProperty("视频地址")
    private String videoUrl;

    @Schema(description = "视频时长(秒)", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("视频时长(秒)")
    private Integer duration;

    @Schema(description = "播放次数", requiredMode = Schema.RequiredMode.REQUIRED, example = "14980")
    @ExcelProperty("播放次数")
    private Integer viewCount;

    @Schema(description = "状态(0:下架,1:上架)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("状态(0:下架,1:上架)")
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "创建人")
    @ExcelProperty("创建人")
    private String createBy;

    @Schema(description = "更新人")
    @ExcelProperty("更新人")
    private String updateBy;

}